﻿@model Propro.Models.addProject

@{
    ViewBag.Title = "addProject";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2 class="doodletitle2">add project</h2>

        @using (Html.BeginForm())
            {
                @Html.AntiForgeryToken()
                @Html.ValidationSummary()

                <form>
                    <div>
                        @Html.LabelFor(m => m.Name)
                        @Html.TextBoxFor(m => m.Name, new { id = "projectname" })
                    </div>
                    <div>
                        @Html.LabelFor(m => m.ShortDescription)
                        @Html.TextBoxFor(m => m.ShortDescription, new { id = "projectshortdescription" })
                    </div>
                    <div>
                        @Html.LabelFor(m => m.Description)
                        @Html.TextBoxFor(m => m.Description, new { id = "projectdescription" })
                    </div>
                    <div>
                        <input type="submit" value="Create new project" />
                    </div>
                    <br />
                </form>
}

<div>
    @Html.ActionLink("Back to List", "List")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}